package com.example.locationreport.locationreport.bean;

/**
 * author : King
 * date   : 2023/11/2810:25
 * desc   : MQTT接收到的告警数据
 */
public class MQTTAlarmBean {

    /**
     * 消息ID
     */
    private String uuid;
    /**
     * 规则ID
     */
    private int ruleId;
    /**
     * 当前告警状态
     * true 表示正在告警
     * false 表示结束告警
     */
    private boolean alarmStatus;

    /**
     * 违章类型ID
     * 1.限高
     * 2.超速
     * 3.停止点
     * 4.停车位
     * 5.电子围栏
     * 6.提示规则
     */
    private int ruleTypeId;
    /**
     * 语音消息
     */
    private String voiceMessage;

    private int broadcastNumber;
    private long timeStamp;

    public boolean isAlarmStatus() {
        return alarmStatus;
    }

    public void setAlarmStatus(boolean alarmStatus) {
        this.alarmStatus = alarmStatus;
    }

    public int getBroadcastNumber() {
        return broadcastNumber;
    }

    public void setBroadcastNumber(int broadcastNumber) {
        this.broadcastNumber = broadcastNumber;
    }

    public int getRuleId() {
        return ruleId;
    }

    public void setRuleId(int ruleId) {
        this.ruleId = ruleId;
    }

    public int getRuleTypeId() {
        return ruleTypeId;
    }

    public void setRuleTypeId(int ruleTypeId) {
        this.ruleTypeId = ruleTypeId;
    }

    public long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getVoiceMessage() {
        return voiceMessage;
    }

    public void setVoiceMessage(String voiceMessage) {
        this.voiceMessage = voiceMessage;
    }
}
